Package weasel.compiler

Source Code of weasel.compiler.WeaselCompilerReturn

package weasel.compiler;

import weasel.interpreter.WeaselClass;
import weasel.interpreter.WeaselGenericClass;

public abstract class WeaselCompilerReturn {

  public abstract WeaselInstructionList getInstructions(WeaselCompiler compiler, WeaselGenericClass weaselGenericClass) throws WeaselCompilerException;

  public abstract WeaselGenericClass getReturnType();

  public abstract boolean isClassAccess();

  public WeaselInstructionList getInstructions(WeaselCompiler compiler, WeaselClass baseClass) throws WeaselCompilerException {
    return getInstructions(compiler, new WeaselGenericClass(baseClass));
  }

  public abstract WeaselInstructionList getInstructions();

}
TOP

Related Classes of weasel.compiler.WeaselCompilerReturn

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.